/*
 * Description: 报价fd-commodity映射调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Qiuxue.Wu
 * Date: 2020/05/27 14:22
 */

import { httpPost } from '../../utils/axios-utils'

export function fdCostPageList(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/pageList', obj, authConfig)
}

export function fdPageListUnFinish(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/pageListUnFinish', obj, authConfig)
}

export function fdPageListFinish(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/pageListFinish', obj, authConfig)
}

export function fdCostSaveSingle(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/costSaveSingle', obj, authConfig)
}

export function fdCostCommit(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/costCommit', obj, authConfig)
}

export function fdCostSaveBatch(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/costSaveBatch', obj, authConfig)
}

export function fdCostForward(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/costForward', obj, authConfig)
}

export function fdCostTaskHistory(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/costTaskHistory', obj, authConfig)
}
export function fdCostTaskClaim(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/claim', obj, authConfig)
}

export function fdClaimBatch(obj, authConfig) {
  return httpPost('/smart-cost/ec_dfc/cost/claimBatch', obj, authConfig)
}
